package two;

public class MultiplyExpression extends AbstractExpression {
    public MultiplyExpression(int num1, int num2) { super(num1, num2); }
    @Override public int calculate() { return num1 * num2; }
    @Override public String toString() { return num1 + " * " + num2 + " = " + result; }
}

